import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';

// 加载静态资源
import "./assets/css/reset.css"
import "./assets/js/rem"

// 引入ui 库
import 'antd-mobile/dist/antd-mobile.css';

// 配置路由模式
import { HashRouter } from "react-router-dom"

import store from "./store"
import {Provider} from "react-redux"

ReactDOM.render(
    <Provider store={store}>
    <HashRouter> 
        <App />
    </HashRouter>
    </Provider>,
    document.getElementById('root')
);